<%@ include file="/WEB-INF/includes/taglibs.jsp" %>
<html>
	<head>
		<title><decorator:title/></title>
		<link rel="stylesheet" href="/styles/main.css" type="text/css"/>
		<link rel="stylesheet" href="/styles/themes/eggplant/theme.css" type="text/css"/>
		<script src="/scripts/jquery.js">window.status = 'Loading jQuery...';</script>
		<script src="/scripts/jquery-ui.js">window.status = 'Loading jQuery UI...';</script>
		<decorator:head/>
	</head>
	<body>
		<!--  user's bar -->
		<div id="userbar">
			<c:choose>
				<c:when test="${user==null}">
					<%@ include file="/WEB-INF/includes/userbar/loggedout.jsp" %>
				</c:when>
				<c:otherwise>
					<%@ include file="/WEB-INF/includes/userbar/loggedin.jsp" %>
				</c:otherwise>
			</c:choose>
		</div>
		<!-- navigation bar -->
		<div id="navbar">
			<c:choose>
				<c:when test="${user==null}">
					<%@ include file="/WEB-INF/includes/navbar/loggedout.jsp" %>
				</c:when>
				<c:otherwise>
					<%@ include file="/WEB-INF/includes/navbar/loggedin.jsp" %>
				</c:otherwise>
			</c:choose>
		</div>
        <decorator:body/>
	</body>
</html>